package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.TranPtnHwEth;
import com.tjmc.tiomscore.model.TranPtnHwEthExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TranPtnHwEthMapper extends TranPtnHwSuperMapper<TranPtnHwEth> {
    long countByExample(TranPtnHwEthExample example);

    int deleteByExample(TranPtnHwEthExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TranPtnHwEth record);

    int insertSelective(TranPtnHwEth record);

    List<TranPtnHwEth> selectByExample(TranPtnHwEthExample example);

    TranPtnHwEth selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TranPtnHwEth record, @Param("example") TranPtnHwEthExample example);

    int updateByExample(@Param("record") TranPtnHwEth record, @Param("example") TranPtnHwEthExample example);

    int updateByPrimaryKeySelective(TranPtnHwEth record);

    int updateByPrimaryKey(TranPtnHwEth record);
}